import { axios } from '@/utils/request'
export async function organTopCountData(params) {   //顶部统计
    return await axios({
        url: '/school/indexs/school-statistics',
        method: 'post',
        data: params
    })
}
export async function toDoing(params) {   //待办事项
    return await axios({
        url: '/school/indexs/to-do',
        method: 'post',
        data: params
    })
}
export async function followUp(params) {   //表格跟进
    return await axios({
        url: '/school/indexs/follow-up',
        method: 'post',
        data: params
    })
}
export async function followUpCount(params) {   //表格跟进统计
    return await axios({
        url: '/school/indexs/follow-up-count',
        method: 'post',
        data: params
    })
}

export async function funnelChart(params) {   //漏斗统计
    return await axios({
        url: '/school/indexs/sale-statistics',
        method: 'post',
        data: params
    })
}

export async function lineChart(params) {   //折线统计
    return await axios({
        url: '/school/indexs/new-student-statistics',
        method: 'post',
        data: params
    })
}
export async function ringChart(params) {   //环形统计
    return await axios({
        url: '/school/indexs/student-statistics',
        method: 'post',
        data: params
    })
}
